package com.ctgu.demo.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Title User.java
 * @Package com.ctgu.demo.entity
 * @Discription 用户类
 * @author michaeljia
 * @version V1.0
 * */

@Data
@TableName("user")
public class User {

    //用户id,包装类方便非空检测
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    //加密密码
    private String userPassword;

    //手机号
    private String userTelephone;

    //昵称
    private String userNickname;

    //性别
    private String sexual;

    //生日
    private Date birthday;

    //地址
    private String location;

    private String icon;

}
